<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://doc.hyperf.io
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf-cloud/hyperf/blob/master/LICENSE
 */

namespace App\Common\Constants;

use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

/**
 * @Constants
 */
class ErrorCode extends AbstractConstants
{

    /**
     * 参数错误
     */
    const PARAMS_ERROR = 50001;

    /**
     * 数据不存在
     */
    const NOT_ISSET = 50002;

    /**
     * 数据不可删除
     */
    const CANNOT_DELETE = 50003;

    /**
     * 已经提交过
     */
    const ALREADY_SUBMIT = 50004;

    /**
     * 系统错误
     */
    const SERVICE_DELETE = 50000;


    /**
     * 数据不可删除
     */
    const SERVICE_ERROR = 50005;


}
